package com.atguigu.product.bean;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Data
@Schema(description = "商品")
public class Product {
    @Schema(description = "商品id")
    private Long id;
    @Schema(description = "商品编号")
    private BigDecimal price;
    @Schema(description = "商品名称")
    private String productName;
    @Schema(description = "商品数量")
    private int num;
}
